<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui"
	xmlns:ui="http://java.sun.com/jsf/facelets">
<h:head>
	<script>
		
	</script>
</h:head>
<h:body>
	<h:form id="formAta" enctype="multipart/form-data">
		<div>
			<p:panel>
				<h:panelGrid columns="2" style="font-size: 13px;">
					<h:outputLabel value="#{message.solicita_filial}"
						styleClass="LabelFont" style="margin-left:30px;" />
					<p:selectOneMenu
						value="#{ataEletronicaTela.ataEletronica.filialAta}" effect="fade"
						style="font-size: 13px;">
						<f:selectItem itemLabel="" itemValue="" />
						<f:selectItem itemLabel="Administrativo" itemValue="15" />
						<f:selectItem itemLabel="Capivari" itemValue="02" />
						<f:selectItem itemLabel="Criciúma" itemValue="06" />
						<f:selectItem itemLabel="Içara" itemValue="04" />
						<f:selectItem itemLabel="Içara II" itemValue="16" />
						<f:selectItem itemLabel="Matriz" itemValue="01" />
					</p:selectOneMenu>

					<h:outputLabel value="#{message.label_origem}"
						styleClass="LabelFont" style="margin-left:30px;" />
					<p:selectOneMenu
						value="#{ataEletronicaTela.ataEletronica.origemAta}" effect="fade"
						style="font-size: 13px;">
						<f:selectItem itemLabel="" itemValue="" />
						<f:selectItem itemLabel="#{message.label_reuniao}"
							itemValue="Reunião" />
						<f:selectItem itemLabel="#{message.label_palestra}"
							itemValue="Palestra" />
						<f:selectItem itemLabel="#{message.label_treinamento}"
							itemValue="Treinamento" />
					</p:selectOneMenu>

					<h:outputLabel value="#{message.label_diretoria}"
						styleClass="LabelFont" style="margin-left:30px;" />
					<p:selectOneMenu
						value="#{ataEletronicaTela.ataEletronica.diretoriaAta}"
						effect="fade" style="font-size: 13px;">
						<f:selectItem itemLabel="" itemValue="" />
						<f:selectItems value="#{ataEletronicaTela.listaDiretorias}"
							var="dire"
							itemLabel="#{dire.codigoDiretoria} - #{dire.descricaoDiretoria}"
							itemValue="#{dire.codigoDiretoria}" style="font-size: 13px;" />
					</p:selectOneMenu>

					<h:outputLabel value="#{message.label_data}" styleClass="LabelFont"
						style="margin-left:30px;" />
					<p:calendar locale="pt" size="5" pattern="dd/MM/yy"
						value="#{ataEletronicaTela.ataEletronica.dataAta}" />

					<h:outputLabel
						value="#{message.label_hora} #{message.label_inicio}"
						styleClass="LabelFont" style="margin-left:30px;" />
					<p:calendar pattern="HH:mm" timeOnly="true" locale="pt" size="3"
						value="#{ataEletronicaTela.ataEletronica.horaInicioAta}" />

					<h:outputLabel value="#{message.label_hora} #{message.label_fim}"
						styleClass="LabelFont" style="margin-left:30px;" />
					<p:calendar pattern="HH:mm" timeOnly="true" locale="pt" size="3"
						value="#{ataEletronicaTela.ataEletronica.horaFimAta}" />

					<h:outputLabel value="#{message.produto_armazem}"
						styleClass="LabelFont" style="margin-left:30px;" />
					<p:inputText value="#{ataEletronicaTela.ataEletronica.localAta}"
						size="30" />

					<h:outputLabel value="#{message.label_assunto}"
						styleClass="LabelFont" style="margin-left:30px;" />
					<p:inputText value="#{ataEletronicaTela.ataEletronica.assuntoAta}"
						size="30" />

				</h:panelGrid>
			</p:panel>

			<div class=".ym-grid">
				<div class=".ym-gl" style="margin-top: 8px;">
					<h:outputLabel value="Assuntos Abordados" styleClass="LabelFont" />
					<br />
					<p:editor id="editorCadastroAta" widgetVar="editorCadAta" width="600" />
				</div>
			</div>

			<div
				style="margin-left: -100px; float: left; margin-top: 20px; left: 50%; position: relative;">
				<p:commandButton value="#{message.botao_concluir}"
					icon="ui-icon-disk" style="font-size: 14px;"
					update=":messages,:formAta" action="#{ataEletronicaTela.salvar}" />
				<p:commandButton value="#{message.botao_cancelar}"
					onclick="jQuery('#panelAta').hide();editorCadAta.clear;" global="false"
					icon="ui-icon-close" type="button"
					style="font-size: 14px;margin-left: 20px;" />
			</div>
		</div>
	</h:form>
</h:body>
</html>